php get first and last day of previous month

189

php last day of month -

$a_date = "2009-11-23";
echo date("Y-m-t", strtotime($a_date));

Comments

Submit
0 Comments